enable bgp export vr

enable bgp export {vr} vr_name route_type {address-family} vpnv4 {export-policy policy_name}

Description

For IPv4 and IPv6 routes, this command enables the PE router to export and redistribute local VRF routes to remote PE routers through BGP.

Syntax Description

vr Specifies the source VPN VRF of the exported routes .
vr_name Specifies the name of the source VPN VRF.
route_type Specifies the source or origin of the route types to be exported to remote PE routers. Valid Types: blackhole, direct, and bgp, and static .
address-family Specifies the address family for the exported routes. Valid types are vpnv4.
export-policy vpnv4

(Optional) The export policy can be specified when you enable bgp export.

Specifies that routes from the VRF are exported as vpnv4 routes over MPBGP.

policy_name Name of export policy to be associated with export of VRF routes into BGP‘s VPN-IPv4 domain for advertisement to other PE routers.

Default

Disabled.

Usage Guidelines

This command enables a PE router to advertise learned routes from CE routers to remote PE routers in a Service Provider's backbone. Executing this command allows the PE router to convert VRF native IPv4 routes into VPN-IPv4 route,s and advertise to all remote PE BGP neighbors as VPN-IPv4 routes.

Example

The following command enables BGP to advertise a vpnv4 route named "corp1_vpn_vrf":

  switch 19 # enable bgp export "corp1_vpn_vrf" bgp address-family vpnv4    
 

History

This command was first added in ExtremeXOS 15.3.

Platform Availability

This command is available on platforms that support the appropriate license. For complete information about software licensing, including how to obtain and upgrade your license and which licenses support the BGP feature,see the Switch Engine v33.1.1 Licensing Guide document.